//
//  MessageModel.m
//  TinyFortune
//
//  Created by lc on 16/6/5.
//  Copyright © 2016年 lc. All rights reserved.
//

#import "MessageModel.h"

@implementation MessageModel

- (instancetype)initWithObject:(AVObject *)object{
    if (self = [super init]) {
        self.desc = [object objectForKey:@"desc"];
        self.url = [object objectForKey:@"url"];
        self.requestName = [object objectForKey:@"requestName"];  
    }
    return self;
}
- (instancetype)initWithDict:(NSDictionary *)dict{
    if (self = [super init]) {
        self.desc = @"与对象聊聊天吧";
        self.url = dict[@"url"];
        self.requestName = dict[@"name"];
    }
    return self;
}
@end


